<!doctype html>
<html>
<head>
<title><?php echo SITE_NAME;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{ID_SERVER}static/css/base.css" rel="stylesheet" type="text/css" />
</head>
<body>

<!-- 系统提示 -->
<div class="register">
	<!-- 主区域 -->
	<div class="main prompt">
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td height="160">
					<img class="system" src="{ID_SERVER}static/images/system/correct.png" />
					<span>{$msg}<br />运行成功 <b id="num">{$seconds}</b></span>
				</td>
			</tr>
		</table>
	</div>
</div>

<script type="text/JavaScript">
var secs = {$seconds}; //倒计时的秒数 
for(var i = secs; i >= 0; i --){
	window.setTimeout('doUpdate(' + i + ')', (secs - i) * 1000);
} 

function doUpdate(num){
	document.getElementById('num').innerHTML = num;
	var win = window.parent ? window.parent : window;
	{if $url}
	if (num == 0) win.location = '{$url}';
	{else}
	if (num == 0) win.history.go(-1);
	{/if}
}
</script>

</body>
</html>